|
|
Rafal 'Raf256' Maj nous apporta ses lumieres ainsi en ce 13/08/2004
18:17... :
>chr### [at] gmxde news:cfjc1l$vh2$1@chho.imagico.de
>
>
>
>>other keyword with the shortest unique abbreviation - but no one could
>>read the code any more then.
>>
>>
>
>Btw, how about adding some shorten forms for long and often used keywords,
>it could spedd up typing and comforable level of hand-typing .pov code,
>like
>
>light { y*10 rgb 1 }
>diff {
> box { -5, +5 }
> sphere { 0 10 }
> text {
> pig { bozo cmap{0:<1,0,0> .5:<1,1,0> 1:1} }
> norm{ bozo .5 }
> fin { refl .5 phong 0.5,70 spec 0.1,0.06 }
>}
>
>?
>
>Aliasing keyword is probably easy, another format of for example color_map
>perhaps not so much.
>
>Just an idea.
>
>
>
You can create a shorthand.inc include that define those abreviations as
equivalant to whatever keyword you want. You even can translate every
keyword to another language if you feel like it. If you then publish
your scene, don't forget to also publish the include file(s).
Alain
Post a reply to this message
|
|